<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>各部门补贴情况汇总数据查询</title>
    <script src="./js/jquery-3.3.1.min.js"></script>
    <script src="./js/jspdf.min.js"></script>
    <script src="./js/jspdf.plugin.autotable.js"></script>
    <script src="./font/msyh.js" ></script>
    <style>
    #form { 
        width: 375px; 
        margin: 10px auto; 
        padding: 20px; 
        border: 1px solid #ccc; 
        border-radius: 10px; 
        background-color: #f9f9f9; 
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    } 
     
    #form label { 
        display: block; 
        margin-bottom: 5px; 
        font-weight: bold; 
        color: #333; 
    } 
     
    #form input[type="date"], 
    #form input[type="time"]{ 
        width: 350px; 
        padding: 10px; 
        margin-bottom: 20px; 
        border: 1px solid #ccc; 
        border-radius: 5px; 
        font-size: 16px; 
    } 
    #form select{ 
        width: 372px; 
        padding: 10px; 
        margin-bottom: 20px; 
        border: 1px solid #ccc; 
        border-radius: 5px; 
        font-size: 16px; 
        display: inline-block;
        
    } 
     
    #form button { 
        display: block; 
        width: 100%; 
        padding: 10px; 
        background-color: #007BFF; 
        color: white; 
        border: none; 
        border-radius: 5px; 
        font-size: 16px; 
        cursor: pointer; 
        transition: background-color 0.3s ease; 
    } 
     
    #form button:hover { 
        background-color: #0056b3; 
    } 
     
    #info { 
        width: 50%; 
        margin: 50px auto; 
        padding: 80px; 
        background-color: #ffbf3c38; 
        color: #0006ca; 
        border-radius: 15px; 
        text-align: center; 
        font-size: 14px; 
        font-weight: bolder;
    } 
     
    #frame { 
        width: 100%; 
        margin-top: 0px; 
        border-radius: 10px; 
        overflow: hidden; 
    } 
     
    #output { 
        display: block; 
        width: 100%; 
        height: 100%; 
    } 
    </style>
</head>

<body>
    <div id="form"> 
            <label for="TimeS">数据起始时间:</label> 
            <input type="date" id="TimeS1" name="TimeS1" value="2023-06-01" required><br> 
            <input type="time" id="TimeS2" name="TimeS2" value="00:00:01" required><br> 
             
            <label for="TimeE">数据结束时间:</label> 
            <input type="date" id="TimeE1" name="TimeE1" value="2023-06-01" required><br> 
            <input type="time" id="TimeE2" name="TimeE2" value="23:59:59" required><br> 
             
            <label for="dept">筛选部门:</label>
            <select id="dept" name="dept" required>
                <option value="-99" selected>所有部门</option>
            </select><br> 
             
            <label for="Type">数据类型:</label>
            <select id="Type" name="Type" required>
                <option value="消费" selected>消费</option>
            </select>
            <br> 
             
            <button type="button" onclick="getData()">查询</button> 
    </div> 
    <div id='info' hidden>正在处理, 需用时一分钟左右, 请稍候...</div>
    <div id="frame" style="">
        <iframe id="output" src="" frameborder="0" width="100%" height="98%"></iframe>
    </div>  
    <script>
    </script>
    <script src="./js/init.js?52" defer></script> 
    </script>
</body>
</html>